

# tuple_a = (6,5,4,3,2,1)
# print(tuple_a)

# list_a = [233, 66, 32, 6, 1]
# tuple_b = tuple(list_a)

# print(tuple_b.index(6))



# tuple_b[0] = 'hello'
# print(tuple_b)



# set_a = {1,2,3,4,5}
# num = int(input('请输入要删除的内容'))
# if num in set_a:
#     set_a.remove(num)
# else:
#     print(num,'不存在这个集合中')
# print(set_a)

# set_python = {'Steve','Bob','Jason'}
# set_cpp = {'Steve','Jason','Jack'}
# print(set_python.union(set_cpp))
# print(set_python.intersection(set_cpp))
# print(set_python.difference(set_cpp))



# import random
# list_a = []
# for i in range(20):
#     list_a.append(random.randint(1,100))
# print(list_a)

# jishu = 0
# oushu = 0
# for num in list_a:
#     if num%2 == 0:#判断是否为偶数
#         oushu += 1
#     else:
#         jishu += 1
# print('奇数的个数是{}\n偶数的个数是{}'.format(jishu,oushu))

# list_b = [random.randint(1,100) for i in range(20)]
# print(list_b)



# list_a = [233, 66, 32, 6, 1]
# for num in list_a:
#     print(num)


scores={
    '张三':[95,90,86],
    '李四':[95,90,79],
    '王五':[85,76,95],
    '赵六':[76,86,79],
    '孙七':[85,95,90],
    '老八':[92,88,79]
}

# for k,v in scores.items():
#     # print(i,scores.get(i))
#     print(k,v)


# def prime(num):
#     for i in range(2,num):
#         if num % i == 0:
#             return False
#     else:
#         return True
# #100以内的质数
# for i in range(1,101):
#     if prime(i):
#         print(i)

# #2-20的梅森质数
# def Mersenne(num):
#     if prime(num) and prime(2 ** num -1):
#         return num
#     else:
#         return -1
    
# for i in range(2,21):
#     r = Mersenne(i)
#     if r != -1:
#         print(r)

import time
def get_time():
    return time.strftime('%H:%m:%S',time.localtime())

for i in range(5):
    time.sleep(1)
    print(get_time())

